$workflow-toolbar-width:130px;
$workflow-prop-width:200px;
$basic-padding:8px;
$thead-height:32px;
.noselect {
    user-select: none;
}

.workflow {
    &-container {
        width: 100%;
        height: 100%;
    }
    &__toolbar {
        float: left;
        width: $workflow-toolbar-width;
        height: 100%;
        background: #F0F0F0;
    }
    &__content {
        float: left;
        width:calc(100% - #{ $workflow-toolbar-width + $workflow-prop-width });
        height: 100%;
        &__bg {
            background: linear-gradient(top, transparent 9px, #CCCCCC 10px, transparent 10px, transparent 19px, #CCCCCC 20px, transparent 20px, transparent 29px, #CCCCCC 30px, transparent 30px, transparent 39px, #BBBBBB 40px), linear-gradient(left, transparent 9px, #CCCCCC 10px, transparent 10px, transparent 19px, #CCCCCC 20px, transparent 20px, transparent 29px, #CCCCCC 30px, transparent 30px, transparent 39px, #BBBBBB 40px);
            background-size: 40px 40px;
            //background: linear-gradient(top, transparent 9px, #cccccc 10px),linear-gradient(left, transparent 9px, #cccccc 10px);
            //background-size: 10px 10px;
        }
    }
    &__prop {
        float: left;
        width: $workflow-prop-width;
        height: 100%;
        background: #F0F0F0;
    }
    &__theader {
        height: $thead-height;
        padding: $basic-padding;
        background: #CCCCCC;
    }
    &__tbody {
        height: calc(100% - #{ $thead-height });
        width: 100%;
        overflow: auto;
    }
    &__toolbarItem {
        width: 60px;
        display: inline-block;
        text-align: center;
        cursor: pointer;
        &__icon {
            display: inline-block;
            width: 32px;
            height: 32px;
            margin: 8px auto 0px auto;
            padding: 2px 6px;
            line-height: 32px;
            border-radius: 8px;
            border-radius: 8px;
            background: #BBBBBB;
        }
        &__text {
            padding: 2px;
            text-align: center;
        }
        &:hover {
            background: #CCCCCC;
        }
        &.active {
            background: #CCCCCC;
        }
        &.disabled {
            cursor: not-allowed;
            background: #DDDDDD;
        }
        &.active {
            background: #a0eaaf;
        }
        &:after {
            content: '';
            display: block;
            position: absolute;
            top: 0px;
            left: 0px;
            right: 0px;
            bottom: 0px;
            border-right: 1px solid #CCCCCC;
            border-bottom: 1px solid #CCCCCC;
        }
    }
    &__line {
        border-top: 1px solid #CCCCCC;
    }
    &__drag {
        cursor: move;
    }
    &__linked {
        cursor: crosshair;
    }
    &__floatNode {
        position: absolute;
        background: #AAAAAA;
        z-index: 999;
        padding: 4px 16px;
        border-radius: 8px;
        &__icon {
            display: inline-block;
        }
        &__text {
            display: inline-block;
            margin-left: 8px;
            line-height: 24px;
            font-size: 16px;
            font-weight: 600;
        }
    }
}